home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / ssyrfs.z / ssyrfs
Encoding:
Text File  |  2002-10-03  |  6.1 KB  |  199 lines

  1.  
  2.  
  3.  
  4. SSSSSSSSYYYYRRRRFFFFSSSS((((3333SSSS))))                                                          SSSSSSSSYYYYRRRRFFFFSSSS((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      SSYRFS - improve the computed solution to a system of linear equations
  10.      when the coefficient matrix is symmetric indefinite, and provides error
  11.      bounds and backward error estimates for the solution
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      SUBROUTINE SSYRFS( UPLO, N, NRHS, A, LDA, AF, LDAF, IPIV, B, LDB, X, LDX,
  15.                         FERR, BERR, WORK, IWORK, INFO )
  16.  
  17.          CHARACTER      UPLO
  18.  
  19.          INTEGER        INFO, LDA, LDAF, LDB, LDX, N, NRHS
  20.  
  21.          INTEGER        IPIV( * ), IWORK( * )
  22.  
  23.          REAL           A( LDA, * ), AF( LDAF, * ), B( LDB, * ), BERR( * ),
  24.                         FERR( * ), WORK( * ), X( LDX, * )
  25.  
  26. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  27.      These routines are part of the SCSL Scientific Library and can be loaded
  28.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  29.      directs the linker to use the multi-processor version of the library.
  30.  
  31.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  32.      4 bytes (32 bits). Another version of SCSL is available in which integers
  33.      are 8 bytes (64 bits).  This version allows the user access to larger
  34.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  35.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  36.      only one of the two versions; 4-byte integer and 8-byte integer library
  37.      calls cannot be mixed.
  38.  
  39. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  40.      SSYRFS improves the computed solution to a system of linear equations
  41.      when the coefficient matrix is symmetric indefinite, and provides error
  42.      bounds and backward error estimates for the solution.
  43.  
  44. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  45.      UPLO    (input) CHARACTER*1
  46.              = 'U':  Upper triangle of A is stored;
  47.              = 'L':  Lower triangle of A is stored.
  48.  
  49.      N       (input) INTEGER
  50.              The order of the matrix A.  N >= 0.
  51.  
  52.      NRHS    (input) INTEGER
  53.              The number of right hand sides, i.e., the number of columns of
  54.              the matrices B and X.  NRHS >= 0.
  55.  
  56.      A       (input) REAL array, dimension (LDA,N)
  57.              The symmetric matrix A.  If UPLO = 'U', the leading N-by-N upper
  58.              triangular part of A contains the upper triangular part of the
  59.              matrix A, and the strictly lower triangular part of A is not
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. SSSSSSSSYYYYRRRRFFFFSSSS((((3333SSSS))))                                                          SSSSSSSSYYYYRRRRFFFFSSSS((((3333SSSS))))
  71.  
  72.  
  73.  
  74.              referenced.  If UPLO = 'L', the leading N-by-N lower triangular
  75.              part of A contains the lower triangular part of the matrix A, and
  76.              the strictly upper triangular part of A is not referenced.
  77.  
  78.      LDA     (input) INTEGER
  79.              The leading dimension of the array A.  LDA >= max(1,N).
  80.  
  81.      AF      (input) REAL array, dimension (LDAF,N)
  82.              The factored form of the matrix A.  AF contains the block
  83.              diagonal matrix D and the multipliers used to obtain the factor U
  84.              or L from the factorization A = U*D*U**T or A = L*D*L**T as
  85.              computed by SSYTRF.
  86.  
  87.      LDAF    (input) INTEGER
  88.              The leading dimension of the array AF.  LDAF >= max(1,N).
  89.  
  90.      IPIV    (input) INTEGER array, dimension (N)
  91.              Details of the interchanges and the block structure of D as
  92.              determined by SSYTRF.
  93.  
  94.      B       (input) REAL array, dimension (LDB,NRHS)
  95.              The right hand side matrix B.
  96.  
  97.      LDB     (input) INTEGER
  98.              The leading dimension of the array B.  LDB >= max(1,N).
  99.  
  100.      X       (input/output) REAL array, dimension (LDX,NRHS)
  101.              On entry, the solution matrix X, as computed by SSYTRS.  On exit,
  102.              the improved solution matrix X.
  103.  
  104.      LDX     (input) INTEGER
  105.              The leading dimension of the array X.  LDX >= max(1,N).
  106.  
  107.      FERR    (output) REAL array, dimension (NRHS)
  108.              The estimated forward error bound for each solution vector X(j)
  109.              (the j-th column of the solution matrix X).  If XTRUE is the true
  110.              solution corresponding to X(j), FERR(j) is an estimated upper
  111.              bound for the magnitude of the largest element in (X(j) - XTRUE)
  112.              divided by the magnitude of the largest element in X(j).  The
  113.              estimate is as reliable as the estimate for RCOND, and is almost
  114.              always a slight overestimate of the true error.
  115.  
  116.      BERR    (output) REAL array, dimension (NRHS)
  117.              The componentwise relative backward error of each solution vector
  118.              X(j) (i.e., the smallest relative change in any element of A or B
  119.              that makes X(j) an exact solution).
  120.  
  121.      WORK    (workspace) REAL array, dimension (3*N)
  122.  
  123.      IWORK   (workspace) INTEGER array, dimension (N)
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. SSSSSSSSYYYYRRRRFFFFSSSS((((3333SSSS))))                                                          SSSSSSSSYYYYRRRRFFFFSSSS((((3333SSSS))))
  137.  
  138.  
  139.  
  140.      INFO    (output) INTEGER
  141.              = 0:  successful exit
  142.              < 0:  if INFO = -i, the i-th argument had an illegal value
  143.  
  144. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  145.      ITMAX is the maximum number of steps of iterative refinement.
  146.  
  147. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  148.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  149.  
  150.      This man page is available only online.
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.